package net.telesing.tcmc.back.model;

import net.telesing.tcmc.common.BaseModel;
import org.nutz.dao.entity.annotation.Column;
import org.nutz.dao.entity.annotation.Table;
import org.nutz.dao.entity.annotation.View;

/**
 * Created by bys on 2015/11/3.
 */
@Table("tsc_user")
@View("vsc_user")
public class UserModel extends BaseModel
{
    @Column("NAME")
    private String name;

    @Column("PASS")
    private String pass;

    @Column("NICK")
    private String nick;

    @Column("MOBILE")
    private String mobile;

    @Column("EMAIL")
    private String email;

    @Column("TYPE")
    private int type;

    @Column("STATE")
    private int state;

    public String getName()
    {
        return name;
    }

    public void setName(String name)
    {
        this.name = name;
    }

    public String getPass()
    {
        return pass;
    }

    public void setPass(String pass)
    {
        this.pass = pass;
    }

    public String getNick()
    {
        return nick;
    }

    public void setNick(String nick)
    {
        this.nick = nick;
    }

    public String getMobile()
    {
        return mobile;
    }

    public void setMobile(String mobile)
    {
        this.mobile = mobile;
    }

    public String getEmail()
    {
        return email;
    }

    public void setEmail(String email)
    {
        this.email = email;
    }

    public int getType()
    {
        return type;
    }

    public void setType(int type)
    {
        this.type = type;
    }

    public int getState()
    {
        return state;
    }

    public void setState(int state)
    {
        this.state = state;
    }
}
